
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 14px;
}
body {
  height: 100%;
  color: #333;
  font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB',
    'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
}

ul,
h1,
h3,
h4,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: #333;
  outline: none;
}

i {
  font-style: normal;
}

img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}

ul {
  list-style: none;
}

#app {
  user-select: none;
  padding: 30px;
}

.chart-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  justify-content: space-between;


  .chart-item {
    width: 256px;
    height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f3f3f3;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    /* transition: all 0.5s; */
    
    img {
      display: block;
      height: 100%;
      margin: 0 auto;
    }
    .title {
      padding: 8px 0 8px 15px;
      margin-top: 6px;
      border-top: 1px solid #e7e7e7;
    }
    .extra {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
      transform: translate3d(0, 100%, 0);
      transition: all 0.5s;
      background: rgba(0, 0, 0, 0.7);

      button {
        width: 90px;
        height: 30px;
        border: 0;
        color: #fff;
        border-radius: 5px;
        background: #008ff8;
      }

      .extra-icons{
        margin-top: 15px;
        span {
          color: #fff;
          font-size: 16px;
          margin-right: 10px;
          line-height: 30px;
        }
      }
    }
    &:hover {
      .extra {
        transform: none;
      }
    }
  }

  .chart-hidden{
    width: 256px;
    height: 172px;
    background: #fff;
  }
}